/**
 * 
 */
package com.sci.web.action.systemmanage;

import javax.annotation.Resource;

import com.sci.web.action.util.BaseAction;
import com.sci.web.dao.SystemManageDao;

/**
 * @author  BaiFuyou
 * @date: Nov 17, 2011 10:43:42 AM
 */
public class GetAllRoleForTreeAsignAction extends BaseAction {
	private static final long serialVersionUID = 6244780712039288542L;
	@Resource
	private SystemManageDao systemManageDao;
	@Override
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		super.setContentType(super.JSON);
		super.outPrint(super.getJSONArrayString(systemManageDao.getAllRoleTree()));
		return "json";
	}
}
